
* {
    /*margin内边距  padding外边距*/
    margin: 0;
    padding: 0;
}

/*让最上边居中*/
.home-top {
    height: 100px;
    background-color: #202542;
}

.home-top-content {
    width: 1000px;
    margin: auto;
    height: 100px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.home-top-logo {
    width: 250px;
    height: 100px;
    background-color: #fcf7d2;
}

.home-top-logo img {
    padding: 20px;
    line-height: 100px;
}

.home-top-logo-chinese {
    font-size: 33px;
    font-family: 仿宋;
    font-weight: bold;
    margin-top: 10px;
}

/*------------------------导航--------------------------------*/
/*对ul设定高度，然后设定行高，就是为了上下居中*/
.home-top-nav ul {
    height: 100px;
    line-height: 100px;
    color: #c8b99e;
}

/*对li前面的点进行隐藏，因为这是无序标签，为了让li标签在同一行，所以需要float：left*/
.home-top-nav ul li {
    list-style: none;
    float: left;

}

/*使div里面的字体隔开，左右隔开20px*/
.home-top-nav ul li div {
    padding: 0 20px;
}

/*逗号 表示和*/
.home-top-nav ul li p {
    /*首先要让p标签隐藏*/
    display: none;
    /*设置p标签高度*/
    height: 10px;
    /*设置p标签背景颜色*/
    background-color: #c7994f;
    /*设置p标签位置*/
    /*margin-top: -10px;*/
}

/*设置三角形*/
.home-top-nav ul li h6 {
    border: 10px solid red;
    display: none;
    width: 0;
    height: 0;
    margin: auto;
    margin-top: -30px;

}

/*设置鼠标样式，当鼠标移上去的时候背景颜色改变*/
.home-top-nav ul li:hover {
    background-color: #e7ca90;
}

/*当鼠标移上li标签时，p标签显示出来*/
.home-top-nav ul li:hover p {
    display: block;
}

.home-top-nav ul li:hover h6 {
    display: block;
    /*!*上 右  下 左  transparent为透明颜色*!*/
    border-color: transparent transparent #c7994f transparent;
}

/*--------------------------------广告------------------------------*/

.home-top-ad-content {
    width: 600px;
    height: 200px;
    background-color: blue;
    opacity: 0.2;
    margin: -500px auto 0;

}

.home-top-ad {
    /*position: absolute;*/
}

.home-top-ad img {
    /*left: 100%;*/
    width: 100%;
    /*width: 1920px;*/
    /*margin: -100%;*/
    /*margin-left: -960px;*/
    /*height: 700px;*/
    /* text-align: center;*/
}

.home-top-ad-content-one {
    font-size: 50px;
    text-align: center;
    line-height: 200px;
    color: white;
    margin-top: -200px;
}

.home-top-ad-content-two {
    background-color: #202542;
    color: white;
    height: 50px;
    width: 400px;
    margin: auto;
    text-align: center;
    opacity: 0.8;
    line-height: 50px;
    margin-top: -25px;

}

.home-top-ad-content-two p {
    height: 5px;
    background-color: white;
}

/*-------------------------中间内容------------------------------*/
.home-middle {
    /*清除div左右两边的浮动*/
    /*clear: both;*/
    background-image: url("../img/bj01_wa51.jpg");
    position: relative;
    height: 570px;
    margin-top: 600px;
}

.home-middle-content {
    width: 1000px;
    margin: auto;
}

.hotel-info {
    /*相对路径*/
    position: relative;
    height: 570px;
    /*上边位置*/
    top: -130px;
}

.home-middle-content-left {
    width: 320px;
    height: 700px;
}

.home-middle-content-left-one {
    background-image: url("../img/lbj_1a3k.jpg");
    width: 320px;
    height: 400px;
    position: absolute;
}

.home-middle-content-left .img {
    width: 170px;
    margin: auto;
    margin-top: 50px;
    z-index: 1;
}

.home-middle-content-left .phone {
    text-align: center;
}

.home-middle-content-left .phone h4 {
    font-size: 30px;
    color: #5f6484;
}

.home-middle-content-left .phone p {
    color: #e8db97;
    font-size: 40px;
    z-index: 1;
}

.home-middle-content-left .border {
    position: absolute;
    border: 5px solid #5f6484;
    width: 170px;
    height: 250px;
    left: 75px;
    top: 50px;
    z-index: 0;
}

.home-middle-content .news {
    position: absolute;
    background-image: url("../img/xl_du7j.jpg");
    width: 320px;
    height: 90px;
    top: 400px;
    text-indent: 2em;
}

.home-middle-content .news h4 {
    margin-top: 20px;
}

.home-middle-content .news p {
    color: #c7994f;
}

/*------------------------------*/
.home-middle-content .news-content {
    position: absolute;
    top: 490px;
    width: 320px;
    height: 210px;
    background-color: #2d314c;
    opacity: 0.8;
}

.news-contents {
    width: 280px;
    margin: auto;
    line-height: 30px;
    height: 30px;
}

.news-contents h5 {
    width: 60%;

    /*   单行溢出 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-contents p {
    width: 40%;
}

.see-more {
    position: absolute;
    color: white;
    bottom: 0;
}

.see-more div:first-child {
    background-color: #cca667;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.see-more div:last-child {
    background-color: #e1bd81;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

/*----------------------右侧-----------------------------------------*/
.home-middle-content-right {
    width: 660px;
    height: 700px;
    /*background-color: #c7994f;*/
}

/*对三个栏目分区的一个图片进行设置高宽*/
.home-subarea {
    height: 300px;
    width: 660px;
}

/*图片外出div高宽*/
.subarea-img {
    width: 200px;
    height: 180px;
}

/*设置图片的宽度和高度，不能大于外出div的高宽，*/
.subarea-img img {
    width: 100%;
    height: 100%;
}

/*设置栏目下方的颜色和高宽*/
.subarea-bottom {
    background-color: #f6e2a7;
    height: 120px;
    width: 200px;
}

.subarea-bottom .v {
    font-size: 120px;
    text-align: right;
    line-height: 120px;
    margin-top: -10px;
}

.subarea-bottom .m {
    height: 70px;
    width: 200px;
    margin-top: -100px;
}

.subarea-bottom .m div:first-child {
    font-size: 15px;
}

.subarea-bottom .m div:last-child {
    font-size: 15px;
    color: #c7994f;
}

.subarea-bottom .b {
    height: 50px;
    width: 200px;
    margin-top: -20px;
    background-color: #2d314c;
}

.subarea-bottom .b div:first-child {
    width: 30px;
    height: 30px;
    margin-top: 10px;
}

.subarea-bottom img {
    width: 100%;
    height: 100%;
}

.subarea-bottom .b div:last-child {
    line-height: 50px;
}

.subarea {
    margin-left: 20px;
    float: right;
}

/*-----------------------------关于酒店------------------*/
.home-info {
    position: absolute;
    width: 640px;
    height: 370px;
    bottom: -130px;
    right: 0;
}

.home-info-left {
    width: 180px;
    height: 330px;
    background-color: #212957;
    opacity: 0.5;
    /*用了padding表示左右两边多了10px，
    所以我们右边图片相应的减少20px，如果不减少，
    那么关于酒店文字和右边图片就会自动换行*/
    padding: 20px;
}

.home-info-right {
    width: 420px;
    height: 370px;
}

.about p:first-child {
    color: #c7994f;
    font-size: 20px;
}

.about p:nth-child(2) {
    color: #f6e2a7;
}

.about hr {
    width: 30px;
    margin: 20px 0;
}

/*多行溢出*/
.info {
    line-height: 40px;
    color: white;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.left-hidden {
    width: 50px;
    height: 50px;
    background-color: #171a2d;
    text-align: center;
    line-height: 50px;
    font-size: 50px;
    bottom: 0;
    left: 170px;
    position: absolute;
    color: white;
}

/*------------------关于酒店图片----------------------*/
.home-info-right .img img {
    width: 100%;
    height: 100%;
}

.home-info-right .img {
    width: 420px;
    height: 340px;
}

.home-info-right .img-bottom {
    width: 420px;
    height: 30px;
    background-color: black;
}

.right-hidden {
    width: 50px;
    height: 50px;
    background-color: #2d314c;
    text-align: center;
    line-height: 50px;
    font-size: 50px;
    bottom: 0;
    left: 220px;
    position: absolute;
    color: white;
}

/*遮罩*/
.home-info-right-over-hidden {
    width: 420px;
    height: 120px;
    background-color: #2d314c;
    opacity: 0.5;
    position: absolute;
    bottom: 0;
}

.img-bottom ul {
    list-style: none;
    float: right;
}

.img-bottom ul li {
    float: left;
    background-color: #ff6b00;
    width: 20px;
    height: 20px;
    margin: 5px;
    text-align: center;
    line-height: 20px;
}

/*--------------------------第二部分 服务项目--------------------------------------*/
.home-service {
    /*clear: both;*/
    top: 570px;
    height: 530px;
    background-image: url("../img/bj02_e6gg.jpg");
}

.lunBo-border {
    width: 1000px;
    height: 300px;
    margin: auto;
    overflow: hidden;
}

.home-service-content {
    width: 1000px;
    height: 530px;
    margin: auto;
    /*background-color: #5f6484;*/
}

.service-info {
    color: #c7994f;
    font-size: 30px;
    margin-top: 0;
    position: absolute;
    left: 400px;
}

.home-service-info-span {
    width: 800px;
    margin-left: 115px;
}

.span1 {
    width: 300px;
    height: 0;
    border: 2px solid red;
    margin: 10px;
}

/*清楚浮动*/
.home-service-info hr {
    clear: both;
    width: 100px;
    margin: auto;
}

/*服务项目板块*/
.service-info-template {
    margin-left: 80px;
}

.service-info-template a {
    text-decoration: none;
    float: left;
    margin: 20px;
    border: 1px solid indigo;
    padding: 10px;
}

.home-service-lunBo {
    clear: both;
    width: 300%;
    height: 300px;
    animation: move 10s linear 0s infinite normal;
}

@keyframes move {
    from {
        margin-left: 0;
    }
    to {
        margin-left: -800px;
    }
}

.lunBo {
    width: 300px;
    height: 300px;
    text-align: center;
    margin: 10px;
    float: left;

}

/*----------------------------在线订房---------------------------*/
.online {
    position: relative;
    background-image: url("../img/bj03_qk0x.jpg");
    height: 400px;
    margin-top: 520px;
}

/*在线订房居中*/
.online-content {
    width: 1000px;
    height: 400px;
    margin: auto;
}

/*QQ，微博和微信三个联系图片的整个div进行绝对路径，要将这个div放在整张图片中间*/
.online-lianxi {
    width: 412px;
    height: 100px;
    background-color: #c7994f;
    opacity: 0.5;
    position: absolute;
    /*150==（整个图片的高度）400-（本div的高度）100   除以2*/
    top: 150px;
}

.online-img-left {
    position: relative;
}

.online-lianxi img {
    vertical-align: middle;
    margin-top: 19px;
    margin-left: 50px;
}

/*白色边框*/
.online-white-div {
    height: 200px;
    width: 200px;
    border: 2px solid white;
    left: 600px;
    top: 100px;
    position: absolute;
}

.online-img-right {
    position: relative;
}

/*这个是一个点击按钮，滑向左侧*/
.online-a {
    width: 50px;
    height: 50px;
    background-color: #c7994f;
    color: white;
    left: 550px;
    top: 175px;
    position: absolute;
    text-align: center;
    line-height: 50px;
    font-size: 40px;
}

/*在线订房*/
.online-b {
    width: 150px;
    height: 50px;
    background-color: #2d314c;
    color: #c7994f;
    left: 600px;
    top: 175px;
    position: absolute;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
}

.online-c {
    position: absolute;
    left: 768px;
    top: 68px;
}

.online-d {
    position: absolute;
    left: 768px;
    top: 168px;
}

.online-e {
    position: absolute;
    left: 768px;
    top: 268px;
}

.online-c img {
    width: 100%;
    height: 100%;
}

.ziti {
    color: white;
    float: left;
    width: 140px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding: 0 5px;
    line-height: 30px;
}

/*-------------------------底部---------------------------*/
.home-foot {
    height: 200px;
    background-color: #0f1521;
}

.home-foot-content {
    width: 1000px;
    margin: auto;
    height: 200px;
}

.home-foot-content > div {
    width: 18%;
    color: #4b4f68;
    padding: 10px;
    float: left;
}

.shuxian {
    float: left;
    width: 0;
    height: 150px;
    border: 2px solid #4b4f68;
    margin: 25px 20px;
}

.home-foot-content > div:nth-child(1) {
    margin: 80px 0 0 0;
}

.home-foot-content > div:nth-child(3) {
    margin: 70px 0 0 0;
}

.dingfangrexian {
    margin-top: 40px;
}

.beian {
    margin-top: 80px;
}

.home-foot-content span {
    color: #c7994f;
    font-size: 20px;
}